.class public Lcom/estrongs/old/fs/impl/sftp/a;
.super Lcom/estrongs/fs/a;
.source "SFtpFileObject.java"


# instance fields
.field private p:Lcom/jcraft/jsch/SftpATTRS;


# direct methods
.method public constructor <init>(Lcom/jcraft/jsch/SftpATTRS;Ljava/lang/String;Ljava/lang/String;)V
    .locals 0

    .line 1
    invoke-direct {p0, p2}, Lcom/estrongs/fs/a;-><init>(Ljava/lang/String;)V

    .line 2
    iput-object p1, p0, Lcom/estrongs/old/fs/impl/sftp/a;->p:Lcom/jcraft/jsch/SftpATTRS;

    .line 3
    invoke-static {p2}, Lcom/estrongs/android/util/h0;->y(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    invoke-virtual {p0, p1}, Lcom/estrongs/fs/a;->setName(Ljava/lang/String;)V

    if-eqz p3, :cond_0

    const/4 p1, 0x1

    .line 4
    iput-boolean p1, p0, Lcom/estrongs/fs/a;->i:Z

    .line 5
    iput-object p3, p0, Lcom/estrongs/fs/a;->j:Ljava/lang/String;

    :cond_0
    return-void
.end method


# virtual methods
.method public g()Z
    .locals 1
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Lcom/estrongs/fs/FileSystemException;
        }
    .end annotation

    const/4 v0, 0x0

    return v0
.end method

.method protected j()Z
    .locals 1

    .line 1
    invoke-virtual {p0}, Lcom/estrongs/old/fs/impl/sftp/a;->l()Z

    move-result v0

    return v0
.end method

.method protected k()Z
    .locals 3

    .line 1
    iget-object v0, p0, Lcom/estrongs/old/fs/impl/sftp/a;->p:Lcom/jcraft/jsch/SftpATTRS;

    invoke-virtual {v0}, Lcom/jcraft/jsch/SftpATTRS;->g()Ljava/lang/String;

    move-result-object v0

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Ljava/lang/String;->indexOf(I)I

    move-result v0

    const/16 v2, 0x72

    if-ne v0, v2, :cond_0

    return v1

    :cond_0
    const/4 v0, 0x0

    return v0
.end method

.method protected l()Z
    .locals 2

    .line 1
    iget-object v0, p0, Lcom/estrongs/old/fs/impl/sftp/a;->p:Lcom/jcraft/jsch/SftpATTRS;

    invoke-virtual {v0}, Lcom/jcraft/jsch/SftpATTRS;->g()Ljava/lang/String;

    move-result-object v0

    const/4 v1, 0x2

    invoke-virtual {v0, v1}, Ljava/lang/String;->indexOf(I)I

    move-result v0

    const/16 v1, 0x77

    if-ne v0, v1, :cond_0

    const/4 v0, 0x1

    return v0

    :cond_0
    const/4 v0, 0x0

    return v0
.end method

.method public lastModified()J
    .locals 4

    .line 1
    iget-object v0, p0, Lcom/estrongs/old/fs/impl/sftp/a;->p:Lcom/jcraft/jsch/SftpATTRS;

    invoke-virtual {v0}, Lcom/jcraft/jsch/SftpATTRS;->d()I

    move-result v0

    int-to-long v0, v0

    const-wide/16 v2, 0x3e8

    mul-long v0, v0, v2

    return-wide v0
.end method

.method public length()J
    .locals 2

    .line 1
    iget-object v0, p0, Lcom/estrongs/old/fs/impl/sftp/a;->p:Lcom/jcraft/jsch/SftpATTRS;

    invoke-virtual {v0}, Lcom/jcraft/jsch/SftpATTRS;->h()J

    move-result-wide v0

    return-wide v0
.end method

.method protected m()Lcom/estrongs/fs/l;
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/estrongs/old/fs/impl/sftp/a;->p:Lcom/jcraft/jsch/SftpATTRS;

    invoke-virtual {v0}, Lcom/jcraft/jsch/SftpATTRS;->j()Z

    move-result v0

    if-eqz v0, :cond_0

    .line 2
    sget-object v0, Lcom/estrongs/fs/l;->c:Lcom/estrongs/fs/l;

    return-object v0

    .line 3
    :cond_0
    sget-object v0, Lcom/estrongs/fs/l;->d:Lcom/estrongs/fs/l;

    return-object v0
.end method
